-module(class_Beta).
-define(wooper_superclasses, [class_Alpha]).

-define( wooper_construct_export, new/3, new_link/3, 
   synchronous_new/3, synchronous_new_link/3,
   synchronous_timed_new/3, synchronous_timed_new_link/3,
   remote_new/4, remote_new_link/4, remote_synchronous_new/4,
   remote_synchronous_new_link/4, remote_synchronous_timed_new/4,
   remote_synchronous_timed_new_link/4, construct/4 ).

-define(wooper_construct_parameters,Field1, Field2, Field3).
-define(wooper_method_export,method1/1,method3/2).

-include("wooper.hrl").

construct(State, ?wooper_construct_parameters) ->
    AState = class_Alpha:construct(State, Field1, Field2),
    ?setAttributes(AState, [ {field3, Field3} ] ).

method1(State) ->
    ?wooper_return_state_result(State, {beta, m1}).
method3(State) ->
    ?wooper_return_state_result(State, {beta, m2}).
